//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package commands;

import common.ByteStream;

public class GetOrder extends LogicCommand {
    private final int cmdId = 26;
    private final int orderId;

    public GetOrder(int tt, int orderId) {
        super(tt);
        this.orderId = orderId;
    }

    public int getCommandId() {
        return 26;
    }

    public void encode(ByteStream stream) {
        stream.writeInt(26);
        stream.writeInt(this.orderId);
        stream.writeInt(this.ticksWhenTouch().intValue());
    }
}
